﻿using Newtonsoft.Json;
using Org.BouncyCastle.Crypto;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Business.SceneSalesTechDoc
{
    [SugarTable("TUCSceneSalesTechDocHeader")]
    public class TUCSceneSalesTechDocHeader : BaseHead
    {
        /// <summary>
        /// 事业部
        /// </summary>
        [JsonProperty(PropertyName = "Division")]
        public string Division { get; set; }

        /// <summary>
        /// 状态描述 正在进行 待评价 待改善 完成结案 已退回 已拒绝
        /// </summary>
        [JsonProperty(PropertyName = "StateText")]
        public string StateText { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        [JsonProperty(PropertyName = "UpdatedId")]
        public string UpdatedId { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [JsonProperty(PropertyName = "UpdatedOn")]
        public DateTime? UpdatedOn { get; set; }

        /// <summary>
        /// 落地销员ID
        /// </summary>
        [JsonProperty(PropertyName = "SalesPersonId")]
        public string SalesPersonId { get; set; }

        /// <summary>
        /// 落地销售员
        /// </summary>
        [JsonProperty(PropertyName = "SalesPerson")]
        public string SalesPerson { get; set; }

        /// <summary>
        /// 项目落地成本中心
        /// </summary>
        [JsonProperty(PropertyName = "CostCenter")]
        public string CostCenter { get; set; }

        /// <summary>
        /// 项目落地大区
        /// </summary>
        [JsonProperty(PropertyName = "Factory")]
        public string Factory { get; set; }

        /// <summary>
        /// 项目落地销售部
        /// </summary>
        [JsonProperty(PropertyName = "SalesDept")]
        public string SalesDept { get; set; }

        /// <summary>
        /// 需求说明
        /// </summary>
        [JsonProperty(PropertyName = "RequirementSpecification")]
        public string RequirementSpecification { get; set; }

        /// <summary>
        /// 需求类型
        /// </summary>
        [JsonProperty(PropertyName = "RequirementType")]
        public string RequirementType { get; set; }

        /// <summary>
        /// 城市等级
        /// </summary>
        [JsonProperty(PropertyName = "CityLevel")]
        public string CityLevel { get; set; }

        /// <summary>
        /// 城市编码
        /// </summary>
        [JsonProperty(PropertyName = "CityCode")]
        public string CityCode { get; set; }

        /// <summary>
        /// 县编码
        /// </summary>
        [JsonProperty(PropertyName = "CountyCode")]
        public string CountyCode { get; set; }

        /// <summary>
        /// 商机号
        /// </summary>
        [JsonProperty(PropertyName = "BusinessNum")]
        public string BusinessNum { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        [JsonProperty(PropertyName = "ProjectName")]
        public string ProjectName { get; set; }

        /// <summary>
        /// 项目所在地
        /// </summary>
        [JsonProperty(PropertyName = "ProjectLocation")]
        public string ProjectLocation { get; set; }

        /// <summary>
        /// 项目金额
        /// </summary>
        [JsonProperty(PropertyName = "XMYJJE")]
        public decimal XMYJJE { get; set; }

        /// <summary>
        /// 预计涂装总面积
        /// </summary>
        [JsonProperty(PropertyName = "CoatingArea")]
        public decimal CoatingArea { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        [JsonProperty(PropertyName = "CustomerCode")]
        public string CustomerCode { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        [JsonProperty(PropertyName = "CustomerName")]
        public string CustomerName { get; set; }

        /// <summary>
        /// 客户分类1
        /// </summary>
        [JsonProperty(PropertyName = "CustomerType1")]
        public string CustomerType1 { get; set; }

        /// <summary>
        /// 客户分类2
        /// </summary>
        [JsonProperty(PropertyName = "CustomerType2")]
        public string CustomerType2 { get; set; }

        /// <summary>
        /// 项目状态
        /// </summary>
        [JsonProperty(PropertyName = "ProjectStatus")]
        public string ProjectStatus { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        [JsonProperty(PropertyName = "Linkman")]
        public string Linkman { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        [JsonProperty(PropertyName = "Telephone")]
        public string Telephone { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        [JsonProperty(PropertyName = "Address")]
        public string Address { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [JsonProperty(PropertyName = "Notes")]
        public string Notes { get; set; }

        /// <summary>
        /// 重复原因
        /// </summary>
        [JsonProperty(PropertyName = "RepeatReason")]
        public string RepeatReason { get; set; }

        /// <summary>
        /// 服务流程节点
        /// </summary>
        [JsonProperty(PropertyName = "ProcessNode")]
        public string ProcessNode { get; set; }

        /// <summary>
        /// 服务对象
        /// </summary>
        [JsonProperty(PropertyName = "ServiceObject")]
        public string ServiceObject { get; set; }

        /// <summary>
        /// 服务动作
        /// </summary>
        [JsonProperty(PropertyName = "Action")]
        public string Action { get; set; }

        /// <summary>
        /// 要求到达时间
        /// </summary>
        [JsonProperty(PropertyName = "ArrivedTime")]
        public DateTime? ArrivedTime { get; set; }

        /// <summary>
        /// 需求描述
        /// </summary>
        [JsonProperty(PropertyName = "RequirementDescription")]
        public string RequirementDescription { get; set; }

        /// <summary>
        /// 是否劳务工
        /// </summary>
        [JsonProperty(PropertyName = "IsLaborServices")]
        public string IsLaborServices { get; set; }

        /// <summary>
        /// 劳务人员姓名
        /// </summary>
        [JsonProperty(PropertyName = "LaborServicesName")]
        public string LaborServicesName { get; set; }

        /// <summary>
        /// 预计服务周期
        /// </summary>
        [JsonProperty(PropertyName = "EsimatedCycle")]
        public string EsimatedCycle { get; set; }

        /// <summary>
        /// 协商确认日期
        /// </summary>
        [JsonProperty(PropertyName = "ConfirmDate")]
        public DateTime? ConfirmDate { get; set; }

        /// <summary>
        /// 服务和结案人员域名账号，多个用 | 分开
        /// </summary>
        [JsonProperty(PropertyName = "ServiceApproveLoginName")]

        public string ServiceApproveLoginName { get; set; }

        /// <summary>
        /// 服务和结案人员
        /// </summary>
        [JsonProperty(PropertyName = "ServiceApproveName")]

        public string ServiceApproveName { get; set; }

        /// <summary>
        /// 处理意见
        /// </summary>
        [JsonProperty(PropertyName = "DealerOpinion")]
        public string DealerOpinion { get; set; }

        /// <summary>
        /// 拒绝原因
        /// </summary>
        [JsonProperty(PropertyName = "RejectReason")]
        public string RejectReason { get; set; }

        /// <summary>
        /// 不能按时完成原因
        /// </summary>
        [JsonProperty(PropertyName = "FailReason")]
        public string FailReason { get; set; }

        /// <summary>
        /// 实际到达时间
        /// </summary>
        [JsonProperty(PropertyName = "RealTime")]
        public DateTime? RealTime { get; set; }

        /// <summary>
        /// 实际服务周期
        /// </summary>
        [JsonProperty(PropertyName = "RealCycle")]
        public string RealCycle { get; set; }

        /// <summary>
        /// 服务返回日期
        /// </summary>
        [JsonProperty(PropertyName = "ReturnDate")]
        public DateTime? ReturnDate { get; set; }

        /// <summary>
        /// 服务动作(销售审批时间填写)
        /// </summary>
        [JsonProperty(PropertyName = "SaleAction")]
        public string SaleAction { get; set; }

        /// <summary>
        /// 销售审批邮件抄送人员
        /// </summary>
        [JsonProperty(PropertyName = "SaleSendEmail")]
        public string SaleSendEmail { get; set; }

        /// <summary>
        /// 销售审批邮件预警抄送人员
        /// </summary>
        [JsonProperty(PropertyName = "WarnSaleSendEmail")]
        public string WarnSaleSendEmail { get; set; }

        /// <summary>
        /// 预警异常描述
        /// </summary>
        [JsonProperty(PropertyName = "WarnDescribe")]
        public string WarnDescribe { get; set; }

        /// <summary>
        /// 服务人员意见
        /// </summary>
        [JsonProperty(PropertyName = "Opinion")]
        public string Opinion { get; set; }

        /// <summary>
        /// 客户满意度评分
        /// </summary>
        [JsonProperty(PropertyName = "TotalScore")]
        public double TotalScore { get; set; }

        /// <summary>
        /// 满意度
        /// </summary>
        [JsonProperty(PropertyName = "Satisfaction")]
        public string Satisfaction { get; set; }

        /// <summary>
        /// 满意度评价具体意见
        /// </summary>
        [JsonProperty(PropertyName = "SatisfactionSuggest")]
        public string SatisfactionSuggest { get; set; }

        /// <summary>
        /// 服务改善措施
        /// </summary>
        [JsonProperty(PropertyName = "ImprovementMeasures")]
        public string ImprovementMeasures { get; set; }

        /// <summary>
        /// 甲方是否参与
        /// </summary>
        [JsonProperty(PropertyName = "JoinJF")]
        public string JoinJF { get; set; }

        /// <summary>
        /// 甲方姓名
        /// </summary>
        [JsonProperty(PropertyName = "JFName")]
        public string JFName { get; set; }

        /// <summary>
        /// 总包方是否参与
        /// </summary>
        [JsonProperty(PropertyName = "JoinZBF")]
        public string JoinZBF { get; set; }

        /// <summary>
        /// 总包方姓名
        /// </summary>
        [JsonProperty(PropertyName = "ZBFName")]
        public string ZBFName { get; set; }

        /// <summary>
        /// 监理方是否参与
        /// </summary>
        [JsonProperty(PropertyName = "JoinJLF")]
        public string JoinJLF { get; set; }

        /// <summary>
        /// 监理方姓名
        /// </summary>
        [JsonProperty(PropertyName = "JLFName")]
        public string JLFName { get; set; }

        /// <summary>
        /// 施工单位是否参与
        /// </summary>
        [JsonProperty(PropertyName = "JoinSGDW")]
        public string JoinSGDW { get; set; }

        /// <summary>
        /// 施工单位姓名
        /// </summary>
        [JsonProperty(PropertyName = "SGDWName")]
        public string SGDWName { get; set; }

        /// <summary>
        /// 其他是否参与
        /// </summary>
        [JsonProperty(PropertyName = "JoinQT")]
        public string JoinQT { get; set; }

        /// <summary>
        /// 其他姓名
        /// </summary>
        [JsonProperty(PropertyName = "QTName")]
        public string QTName { get; set; }

        /// <summary>
        /// 项目进度
        /// </summary>
        [JsonProperty(PropertyName = "PhaseName")]
        public string PhaseName { get; set; }

        /// <summary>
        /// 积分项1
        /// </summary>
        [JsonProperty(PropertyName = "ScoreKey1")]
        public string ScoreKey1 { get; set; }

        /// <summary>
        /// 积分值1
        /// </summary>
        [JsonProperty(PropertyName = "ScoreValue1")]
        public int ScoreValue1 { get; set; }

        /// <summary>
        /// 积分项2
        /// </summary>
        [JsonProperty(PropertyName = "ScoreKey2")]
        public string ScoreKey2 { get; set; }

        /// <summary>
        /// 积分值2
        /// </summary>
        [JsonProperty(PropertyName = "ScoreValue2")]
        public int ScoreValue2 { get; set; }

        /// <summary>
        /// 积分项3
        /// </summary>
        [JsonProperty(PropertyName = "ScoreKey3")]
        public string ScoreKey3 { get; set; }

        /// <summary>
        /// 积分值3
        /// </summary>
        [JsonProperty(PropertyName = "ScoreValue3")]
        public int ScoreValue3 { get; set; }

        /// <summary>
        /// 积分项4
        /// </summary>
        [JsonProperty(PropertyName = "ScoreKey4")]
        public string ScoreKey4 { get; set; }

        /// <summary>
        /// 积分值3
        /// </summary>
        [JsonProperty(PropertyName = "ScoreValue4")]
        public int ScoreValue4 { get; set; }

        /// <summary>
        /// 积分项5
        /// </summary>
        [JsonProperty(PropertyName = "ScoreKey5")]
        public string ScoreKey5 { get; set; }

        /// <summary>
        /// 积分值3
        /// </summary>
        [JsonProperty(PropertyName = "ScoreValue5")]
        public int ScoreValue5 { get; set; }

        /// <summary>
        /// 数据来源
        /// </summary>
        [JsonProperty(PropertyName = "Source")]
        public string Source { get; set; }
    }
}
